Skip to content

feat: launch videos staged from the real app - #39978

Merged
juliusmarminge merged 4 commits into
mainfrom
t3/launch-video-skill
Nov 20, 2026
Merged

juliusmarminge merged 4 commits into
mainfrom
t3/launch-video-skill

Conversation

@juliusmarminge

Copy link
Copy Markdown
Member

Problem

Launch videos for release threads were hand-built HTML mocks of the app. They drift from the real UI as it changes, and every screen they show has to be redrawn by hand.

Change

launch-video skill (.agents/skills/launch-video/):

  • A staging script runs the real server and web client with fictional data. Machine names and types are made up, and no paid model is involved.
  • It drives the flow in a browser and freezes the page at each beat into static HTML (scripts/snapshot.mjs).
  • The story animates those frozen pages: camera, cursor, pops, glows, typing and captions (assets/kit.js). Frames render deterministically in headless Chromium (scripts/capture.mjs, render.sh, sheet.sh).
  • scripts/fake-claude.mjs stands in for the claude CLI through the Claude provider's binaryPath. Staged threads get Claude's logo, models, thinking and tool rows from scripted turns, and a script step can call a T3 MCP tool for real.
  • stagings/linked-environments/ is the worked example: two linked servers, a real cross-machine delegate_task, the read-only linked thread, and Connect to interact.
  • The hand-built mock template is kept for screens a staging can't produce.

Server: T3CODE_ENVIRONMENT_LABEL and T3CODE_ENVIRONMENT_MACHINE_KIND override the detected environment label and machine kind.

  • Scenarios now set both. Their hostnamectl shim never took effect on Linux, because the server puts the login shell's PATH first, so scenario captures showed the real machine's name.
  • machine-switch-keeps-selected-models opens the Environments list view first. The map became the default view in feat(web): the environments page is a map of your machines #39445 and has no row actions menu, so the scenario was failing on main.

Dev replay agent: a t3/mcp_call frame calls a T3 MCP tool from a recording. <var:name> placeholders fill from T3_DEV_REPLAY_VARS. Two new recordings stage a cross-machine delegation.

Verification

  • vp run check:changed passes.
  • New ServerEnvironment test for the overrides.
  • dev-replay-agent tests pass.
  • machine-switch-keeps-selected-models passes with two servers both named "Scenario".
  • The linked-environments staging and render run end to end on this branch.

Done with Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

juliusmarminge and others added 4 commits November 20, 2026 15:03
Packages the kit behind the 0.1.11 launch videos: a template story, a cursor and
pacing runtime, and scripts that render a story to a 1080p MP4 and contact sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stages the real server and web client with fictional data and the free replay
agent, freezes the page at each beat, and animates the frozen pages, so a
launch video shows the UI as it is today. The replay agent gains a t3/mcp_call
frame and <var:...> values so a recording can make real tool calls, used to
stage a cross-machine delegate_task. Linked-environments staging and story
included as the worked example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
T3CODE_ENVIRONMENT_LABEL and T3CODE_ENVIRONMENT_MACHINE_KIND override the
detected label and machine kind. Scenarios use them: their hostnamectl shim
never took effect on Linux, where the server puts the login shell's PATH
first, so captures showed the real machine's name. The launch-video staging
drops its fake login shell for them.

The machine-switch scenario now opens the Environments list view; the map
became the default and has no row actions menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fake-claude.mjs stands in for the claude CLI (binaryPath) and plays scripted
turns over the Agent SDK's stream-json protocol, so staged threads show
Claude's logo, models, thinking and tool rows. A tool step calls the T3 MCP
tool for real. The linked-environments staging uses it on both machines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Nov 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 21.5 KiB 21.5 KiB 0 B (0.0%) 24.4 KiB ✅
Codex Live turn messages 1 1 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.9 KiB 21.9 KiB 0 B (0.0%) 24.4 KiB ✅
Claude Live turn messages 1 1 0 (0.0%) 8 ✅

Other scenarios

All 64 scenario measurements match main.

All 64 scenario measurements
Provider Scenario Metric Main baseline This PR Impact PR ceiling
Codex short turn resume WebSocket decoded 10.5 KiB 10.5 KiB 0 B (0.0%) 12.7 KiB ✅
Codex short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn running, cold open HTTP decoded 281.7 KiB 281.7 KiB 0 B (0.0%) 302.7 KiB ✅
Codex long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Codex long turn running, history page HTTP decoded 92.4 KiB 92.4 KiB 0 B (0.0%) 107.4 KiB ✅
Codex long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Codex long turn finished, cold open HTTP decoded 381.5 KiB 381.5 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, socket cold open WebSocket decoded 381.6 KiB 381.6 KiB 0 B (0.0%) 410.2 KiB ✅
Codex long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Codex long turn finished, work page HTTP decoded 186.2 KiB 186.2 KiB 0 B (0.0%) 200.2 KiB ✅
Codex long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Codex idle thread resume WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell snapshot HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Codex fleet shell subscribe WebSocket decoded 65 B 65 B 0 B (0.0%) 200 B ✅
Codex fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Codex fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Codex fleet shell resume check rows 0 0 0 0 ✅
Codex stale shell reload HTTP decoded 42.4 KiB 42.4 KiB 0 B (0.0%) 53.7 KiB ✅
Codex stale shell reload rows 27 27 0 (0.0%) 27 ✅
Codex stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Codex stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Codex stale todo list cold open HTTP decoded 72.4 KiB 72.4 KiB 0 B (0.0%) 83.0 KiB ✅
Codex stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Codex stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Codex stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Codex stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅
Claude short turn resume WebSocket decoded 10.6 KiB 10.6 KiB 0 B (0.0%) 12.7 KiB ✅
Claude short turn resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn running, cold open HTTP decoded 283.3 KiB 283.3 KiB 0 B (0.0%) 302.7 KiB ✅
Claude long turn running, cold open rows 75 75 0 (0.0%) 75 ✅
Claude long turn running, history page HTTP decoded 93.4 KiB 93.4 KiB 0 B (0.0%) 107.4 KiB ✅
Claude long turn running, history page rows 75 75 0 (0.0%) 75 ✅
Claude long turn finished, cold open HTTP decoded 384.2 KiB 384.2 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, socket cold open WebSocket decoded 384.3 KiB 384.3 KiB 0 B (0.0%) 410.2 KiB ✅
Claude long turn finished, socket cold open WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude long turn finished, socket cold open rows 151 151 0 (0.0%) 151 ✅
Claude long turn finished, work page HTTP decoded 188.1 KiB 188.1 KiB 0 B (0.0%) 200.2 KiB ✅
Claude long turn finished, work page rows 150 150 0 (0.0%) 150 ✅
Claude idle thread resume WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude idle thread resume WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell snapshot HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude fleet shell snapshot rows 27 27 0 (0.0%) 27 ✅
Claude fleet shell subscribe WebSocket decoded 66 B 66 B 0 B (0.0%) 200 B ✅
Claude fleet shell subscribe WebSocket messages 1 1 0 (0.0%) 1 ✅
Claude fleet shell resume check HTTP decoded 18 B 18 B 0 B (0.0%) 100 B ✅
Claude fleet shell resume check rows 0 0 0 0 ✅
Claude stale shell reload HTTP decoded 43.0 KiB 43.0 KiB 0 B (0.0%) 53.7 KiB ✅
Claude stale shell reload rows 27 27 0 (0.0%) 27 ✅
Claude stale shell resume WebSocket decoded 140 B 140 B 0 B (0.0%) 400 B ✅
Claude stale shell resume WebSocket messages 2 2 0 (0.0%) 2 ✅
Claude stale todo list cold open HTTP decoded 73.4 KiB 73.4 KiB 0 B (0.0%) 83.0 KiB ✅
Claude stale todo list cold open rows 75 75 0 (0.0%) 75 ✅
Claude stale todo list cold open nodes 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open subagents 2 2 0 (0.0%) 4 ✅
Claude stale todo list cold open plans 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open providerTurns 1 1 0 (0.0%) 2 ✅
Claude stale todo list cold open checkpoints 1 1 0 (0.0%) 2 ✅

Baseline: d984b71 · PR result: 4a426a7 · Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

@juliusmarminge
juliusmarminge merged commit 22dcb0a into main Nov 20, 2026
36 of 37 checks passed
@juliusmarminge
juliusmarminge deleted the t3/launch-video-skill branch November 20, 2026 23:15
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Nov 21, 2026
**v0.1.12-nightly.20261121.5024** · 57 changes from 23 contributors

- **Linked environment threads.** Read linked environment threads without separate pairing, then connect to interact with them.
- **Environment map.** See how your machines connect, including their routes, links, and access.
- **Structured thread results.** Request validated structured results from threads for workflows that need to branch on agent output.
- **MCP server sign-in.** Sign in to an agent's MCP server directly from its thread warning, including on remote environments.
- **Apple Speech dictation.** Transcribe dictation locally with Apple Speech on Macs running macOS 26 or later.
- **Faster dictation.** Dictation starts capturing your words sooner on desktop and web.
- **Pull request creation.** Agents can create pull requests without separately pushing unpushed branches first.

### Plus 40 more bug fixes and performance improvements.

<details>
<summary>Full changelog</summary>

## What's Changed
* fix(web): RTF previews read Mac Roman documents by @tiliakoos in pingdotgg/t3code#39846
* fix(server): prevent auto-settle while terminal has active subprocess by @gek0v in pingdotgg/t3code#39835
* fix(web): spreadsheet scrollbars are visible in dark mode by @BenjaSchindler in pingdotgg/t3code#39833
* fix(antigravity): keep complete transcript steps at the tail boundary by @Lucenx9 in pingdotgg/t3code#39855
* fix(web): Open on GitHub in a thread's PR panel honors 'Open links in' by @juliusmarminge in pingdotgg/t3code#39856
* fix(server): a slow disk no longer freezes the service while it writes a log line by @juliusmarminge in pingdotgg/t3code#39857
* fix(acp,web): stop showing "Running Ran" for commandless ACP tool calls by @charlesbine in pingdotgg/t3code#39837
* feat: read a linked environment's threads from the client by @juliusmarminge in pingdotgg/t3code#39406
* feat: connect to a linked environment from its read-only thread by @juliusmarminge in pingdotgg/t3code#39439
* feat: subagents, side chats and linked threads open the same way by @juliusmarminge in pingdotgg/t3code#39515
* fix(desktop): update checks say why a build with a different saved track offers nothing by @shivamhwp in pingdotgg/t3code#38506
* fix(desktop): a phone can watch an agent's hidden browser tab while Windows is locked by @shivamhwp in pingdotgg/t3code#39198
* fix(server): text generation no longer runs a disabled provider by @juliusmarminge in pingdotgg/t3code#39870
* feat(web): the environments page is a map of your machines by @juliusmarminge in pingdotgg/t3code#39445
* fix(acp): /compact right after session/load waits for the agent's command list by @juliusmarminge in pingdotgg/t3code#39891
* fix(speech): project name hints no longer recase ordinary words by @juliusmarminge in pingdotgg/t3code#39884
* fix(pi): async subagents leave Running when their run settles first by @juliusmarminge in pingdotgg/t3code#39888
* fix(mobile): disabled T3 Connect server menu no longer opens during deregistration by @juliusmarminge in pingdotgg/t3code#39894
* fix(server): token analytics record new Antigravity models by @t3dotgg in pingdotgg/t3code#39897
* fix(antigravity): a mid-turn 404 shows its error and is retryable by @juliusmarminge in pingdotgg/t3code#39869
* fix(web): theme hex field keeps your text while you delete it by @erik-bobinski in pingdotgg/t3code#29550
* fix(server): skills from Claude --plugin-dir launch args show in the composer by @mixmav in pingdotgg/t3code#39896
* fix(web,mobile): usage-limit recovery banner updates copy after reset passes by @charlesbine in pingdotgg/t3code#39889
* fix(server): the startup automatic pull waits for a slow fetch by @sergical in pingdotgg/t3code#39915
* chore(server): PR tool descriptions stop steering away from gh and cafe by @juliusmarminge in pingdotgg/t3code#39947
* fix(cli): keep managed T3 Connect tunnels across service updates and restarts by @feldrok in pingdotgg/t3code#39819
* fix(server): pull_request_merge accepts an abbreviated head SHA by @juliusmarminge in pingdotgg/t3code#39906
* fix(server): watch_pull_request on a merged PR reports it instead of failing by @juliusmarminge in pingdotgg/t3code#39899
* fix(evals): GPT evals stop at startup when OpenAI auth is required but no key is found by @juliusmarminge in pingdotgg/t3code#39384
* fix(evals): T3CODE_EVAL_MODEL_PROVIDER picks the GPT evals' proxy provider by @juliusmarminge in pingdotgg/t3code#39505
* fix(server): t3 connect status reports a link made in the app as on by @juliusmarminge in pingdotgg/t3code#39471
* fix(server): PR guides work for pull requests on a fork's own repository by @juliusmarminge in pingdotgg/t3code#39601
* perf(cursor): run Cursor SDK agents and text generation out of process by @Yash-Singh1 in pingdotgg/t3code#39526
* feat: launch videos staged from the real app by @juliusmarminge in pingdotgg/t3code#39978
* chore(gitcafe): pull request listing records how many pages it read by @juliusmarminge in pingdotgg/t3code#39867
* feat(server): a thread turn can return a typed result by @juliusmarminge in pingdotgg/t3code#38874
* fix(web): caret navigation no longer opens composer suggestions by @StiensWout in pingdotgg/t3code#37122
* perf(github): skip decoding oversized GraphQL responses by @Adamulek123 in pingdotgg/t3code#39928
* fix(web): repository and loading-header PR links honor 'Open links in' by @juliusmarminge in pingdotgg/t3code#39926
* fix(web): usage limit refill stripes all render the same width by @rgrvlsk in pingdotgg/t3code#30407
* fix(relay): sample Workers Logs at 1% by @juliusmarminge in pingdotgg/t3code#40004
* fix(dev): dev servers no longer open a console window on Windows by @Tgoh in pingdotgg/t3code#38194
* feat(server): pull_request_read returns a compact summary by default by @juliusmarminge in pingdotgg/t3code#39901
* fix(web): focus popup search from anywhere in its row by @tenyoru in pingdotgg/t3code#33110
* fix(web): adding the last snooze option no longer reorders rows mid-edit by @benoneill66 in pingdotgg/t3code#33279
* fix(voice): start dictation capture sooner on iOS and desktop by @juliusmarminge in pingdotgg/t3code#40011
* fix(gitcafe): a timed-out cafe credential check says it timed out by @tiliakoos in pingdotgg/t3code#39533
* fix(server): pull_request_create pushes an unpushed branch by @juliusmarminge in pingdotgg/t3code#39903
* feat: sign in to an agent's MCP server from its warning by @juliusmarminge in pingdotgg/t3code#39921
* fix(acp): terminal tool fallback works from Windows PowerShell by @juliusmarminge in pingdotgg/t3code#39949
* feat(web): copy button for file previews by @joshka in pingdotgg/t3code#34769
* test(evals): measure T3's PR tools against raw forge CLIs by @juliusmarminge in pingdotgg/t3code#39922
* test(shared): cover unsent manual continuation source resolution by @ndycode in pingdotgg/t3code#39653
* feat(desktop): dictate on this Mac with Apple Speech by @RVZO6 in pingdotgg/t3code#34027
* fix(ci): agent context budget compares with the PR's own base, not a newer main by @juliusmarminge in pingdotgg/t3code#40035
* feat(web): add a composerEmpty keybinding condition by @xctwt in pingdotgg/t3code#30644
* fix(web): toggling a model's visibility no longer jumps the model list by @juliusmarminge in pingdotgg/t3code#31637

## New Contributors
* @gek0v made their first contribution in pingdotgg/t3code#39835
* @BenjaSchindler made their first contribution in pingdotgg/t3code#39833
* @charlesbine made their first contribution in pingdotgg/t3code#39837
* @erik-bobinski made their first contribution in pingdotgg/t3code#29550
* @mixmav made their first contribution in pingdotgg/t3code#39896
* @feldrok made their first contribution in pingdotgg/t3code#39819
* @Tgoh made their first contribution in pingdotgg/t3code#38194
* @benoneill66 made their first contribution in pingdotgg/t3code#33279
* @xctwt made their first contribution in pingdotgg/t3code#30644

**Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261120.5009...v0.1.12-nightly.20261121.5024

</details>


Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261121.5024
ktox-dev pushed a commit to duhell-dev/t3code that referenced this pull request Nov 21, 2026
Upstream added the same variable with the same rule (pingdotgg#39978). Dropping the
fork's copy lets the next upstream sync merge without a conflict.
ktox-dev pushed a commit to duhell-dev/t3code that referenced this pull request Nov 21, 2026
Upstream added the same variable with the same rule (pingdotgg#39978). Dropping the
fork's copy lets the next upstream sync merge without a conflict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant